<%@ page language="java" pageEncoding="UTF-8"%><!DOCTYPE html>
<html><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<head>
  <meta charset="UTF-8">
  <jsp:include page="/head.jsp"></jsp:include>
</head>
<body>
  <div class="alert alert-dismissible alert-success">
    <button type="button" class="close" data-dismiss="alert">&times;</button>
    <strong>登录状态</strong><c:if test="${empty sessionScope.user}">
    	用户未登录，点击<a href="login-2.jsp">这里</a>登录
    </c:if><c:if test="${!empty sessionScope.user}">
    	当前登录用户是 <b>${sessionScope.user.userNickname }</b>
    </c:if>
  </div>
<div class="container-md">
  <div class="row pt-5">
    <div class="col-md-4">
      <div class="card text-white bg-primary mb-3">
        <div class="card-header">功能列表</div>
        <div class="list-group">
          <a href="login-1.jsp" class="list-group-item">登录的MVC实现</a>
          <a href="login-2.jsp" class="list-group-item">登录的AJAX实现</a>
          <a href="reg-1.jsp" class="list-group-item">注册的基本实现</a>
          <a href="reg-2.jsp" class="list-group-item">注册的vue实现</a>
          <a href="article/page.do?articleTypeId=1&size=4" class="list-group-item">分页的MVC实现</a>
        </div>
      </div>
      
    </div>
    
  </div>
</div>
</body>
</html>